package com.shiyi.crawler;

//// 策略执行器
class CrawlerExecutor {
    private CrawlerStrategy strategy;

    public CrawlerExecutor(CrawlerStrategy strategy) {
        this.strategy = strategy;
    }

    public void executeCrawler() {
        strategy.execute();
    }
}